package kr.hkit.powerjava.chapter05;

public class TypeConversion {
	public static void main(String[] args) {
		
		int i;
		double f;
		
		f = 5 / 4;
		System.out.println(f); //1.0
		
		f = (double) 5 / 4;
		System.out.println(f); //1.25
		
		f = 5 / (double)4;
		System.out.println(f);
		
		f = (double)5 / (double)4;
		System.out.println(f);
		
		i = (int)1.3 + (int)1.8;
		System.out.println(i);
	}

}
